<%@page import="java.sql.ResultSet"%>
<%@page import="java.sql.Statement"%>
<%@page import="java.sql.PreparedStatement"%>
<%@page import="utils.Printer"%>
<%@ page language="java" contentType="text/html; charset=windows-1255"
    pageEncoding="utf-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>

<script type="text/javascript" src="applyXSL.js"></script>
<script type="text/javascript" src="showForm.js"> </script>
<%	
if (request.getSession(false) == null || request.getSession(false).getAttribute("username") == null){
	response.sendError(HttpServletResponse.SC_FORBIDDEN, "Please login first");
	return;
}
		
%>

<% String user = request.getSession(false).getAttribute("username").toString(); %>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1255" />
<title><%= user + "'s Hompage" %></title>
<link href="style.css" rel="stylesheet" type="text/css" />
</head>


<body onload="setPage('home');displayResult('Default')">
<%@ include file="/WEB-INF/private/body_wrapper_header.html" %>


<h1>Welcome <%= user %> </h1>
<h2>This is your current schedule:</h2>

<div id="sched"></div>

<%@ include file="/WEB-INF/private/body_wrapper_footer.html" %>
</body>
</html>